<template>
  <div>
    <myDatePicker v-model:currentVal="currentVal" :format="dateFormat"></myDatePicker>
    {{currentVal}}
  </div>
</template>

<script>
import { ref } from '@vue/reactivity';


export default {
  setup() {
    const dateFormat = ref('YYYY/MM/DD');
    const currentVal = ref("2015/01/01")
    return{
      currentVal,
      dateFormat
    }
  },
};
</script>

<style>
</style>